@f{ncattfromdata}ΒΆ

Displays the specified attribute from a netCDF file (nc file). The function finds the file name via a specified dataset name.

@f{ncattfromdata(DatasetName, AttributeName)}
@f{ncattfromdata(DatasetName, AttributeName, VarName)}

Parameters

DatasetName

Is the dataset name, e.g. Data1. The name of the selected dataset will be displayed in the status bar.

AttributeName

Name of an attribute.

VarName

Name of a variable. For global attributes this parameter is optional. Default value is Global. If you would like to access a channel attribute of one of the datasets channels use one of the following strings: use_x_channel, use_y_channel, use_z_channel.

Example

@f{ncattfromdata(Data1, Origin)}

Output:

c:\data\test.asc

@f{ncattfromdata(Data1, units, N)}

Output:

1/min

id-1069298